@extends('home.authlayout')
@section('title','注册')
@section('content')
    <form action="{{url('doFind')}}" method="post">
        {{ csrf_field() }}
        <div class="l1">
            <label>
                <span class="label">账号：</span>
                <input type="text" name="username" placeholder="输入账号" value="{{old('username')}}">
            </label>
        </div>
        <div class="help-block">
            @if ($errors->has('username'))
                <strong>{{ $errors->first('username') }}</strong>
            @endif
        </div>

        <div class="l1">
            <label>
                <span class="label">身份证号：</span>
                <input type="text" name="code" placeholder="输入身份证号" value="{{old('code')}}">
            </label>
        </div>
        <div class="help-block">
            @if ($errors->has('code'))
                <strong>{{ $errors->first('code') }}</strong>
            @endif
        </div>

        <div class="l1">
            <label>
                <span class="label">新密码：</span>
                <input type="password" name="password" placeholder="输入新密码" value="{{old('password')}}">
            </label>
        </div>
        <div class="help-block">
            @if ($errors->has('password'))
                <strong>{{ $errors->first('password') }}</strong>
            @endif
        </div>

        <div class="l1">
            <label>
                <span class="label">确认密码：</span>
                <input type="password" name="repassword" placeholder="输入确认密码" value="{{old('repassword')}}">
            </label>
        </div>
        <div class="find">
            <input type="submit" class="change" value="确定修改">
            <input type="reset" value="取消" class="reset" onclick="javascript:history.back(-1);"/>
        </div>
    </form>


@endsection